<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>应急预案管理_预案查询_高级检索界面</title>
    
    <link rel="stylesheet" href="<%=basePath %>jclient/css/public.css" type="text/css" />
 	<script type="text/javascript" src="<%=basePath %>/jclient/javascript/jslib/jquery.js"></script>
	<script type="text/javascript">
	var i=0;
		function addSelect(){
		
		if(i==1){
			$("#nrjstj2").show();
		}
		if(i==0){
			$("#nrjstj1").show();
			i++;
		}
		}
		function deleteSelect(){
		if(i==0){
			$("#nrjstj2").hide();
		}
		if(i==1){
			$("#nrjstj1").hide();
			i--;
			}
		}
	
	</script>
	
  </head>
  
  <body >
   		<p align="center"  style="margin-top: 30px;" > 
   			高级检索 
   		</p>
   		<p align="left" style="margin-left:300px">
   			输入内容检索条件：
   		</p>
   		<br>
   		<br>
   		<table id="nrjstj" align="center" style="height: 100">
   			<tr>
   				<td>
   					<span class="eclipseBtn" style="float:left; display:block;height: 30px;width: 30px"  onclick="javascript:addSelect()">
   						加
   					</span>
   					<span class="eclipseBtn"  style=" float:left;display:block;height: 30px;width: 30px"onclick="javascript:deleteSelect()">
   						减
   					</span>
   				</td>
   				<td>
   					<select>
   						<option>名称</option>
   						<option>关键词</option>
   						<option>发布时间</option>
   					</select>
   				</td>
   				<td>
   					<input type="text" name="#">
   				</td>
   				<td>
   					<select>
   						<option>
   							并含
   						</option>
   						<option>
   							或含
   						</option>
   						<option>
   							不包含
   						</option>
   					</select>
   				</td>
   				<td>
   					<input type="text" name="#">
   				</td>
   			</tr>
   			<tr id="nrjstj1" style="display:none">
   				<td>
   					<select>
   						<option>
   							并且
   						</option>
   					</select>
   				</td>
   				<td>
   					<select>
   						<option>名称</option>
   						<option>关键词</option>
   						<option>发布时间</option>
   					</select>
   				</td>
   				<td>
   					<input type="text" name="#">
   				</td>
   				<td>
   					<select>
   						<option>
   							并含
   						</option>
   						<option>
   							或含
   						</option>
   						<option>
   							不包含
   						</option>
   					</select>
   				</td>
   				<td>
   					<input type="text" name="#">
   				</td>
   			</tr>
   			<tr id="nrjstj2" style="display:none">
   				<td>
   					<select>
   						<option>
   							并且
   						</option>
   					</select>
   				</td>
   				<td>
   					<select>
   						<option>名称</option>
   						<option>关键词</option>
   						<option>发布时间</option>
   					</select>
   				</td>
   				<td>
   					<input type="text" name="#">
   				</td>
   				<td>
   					<select>
   						<option>
   							并含
   						</option>
   						<option>
   							或含
   						</option>
   						<option>
   							不包含
   						</option>
   					</select>
   				</td>
   				<td>
   					<input type="text" name="#">
   				</td>
   			</tr>
   		</table>
   		<br>
   		<p align="left" style="margin-left:300px">
   			输入检索控制条件：<img src="">
   			  &nbsp;<span class="eclipseBtn"  onclick="javascript:if($('#gjtab').is(':hidden')){$('#gjtab').show();$(this).text('合并');}else{$('#gjtab').hide();$(this).text('展开');}" style="display: inline-block;">展开</span>
   		</p>
   		<br>
   		<table id="gjtab" align="center" style="display: none;height:70">
   			<tr>
   				<td>
   				<img src="">
   				</td>
   				<td >
   				发布时间：从&nbsp;&nbsp;
   				<select style="width: 80px">
   				</select>
   				&nbsp;&nbsp;&nbsp;&nbsp;
   				到
   				&nbsp;&nbsp;&nbsp;&nbsp;
   				<select style="width: 80px">
   				
   				</select>
   				</td>
   			</tr>
   			<tr>
   				<td>
   				</td>
   				<td >
   					更新时间：从&nbsp;&nbsp;
   					<select style="width: 80px">
   					</select>
   					&nbsp;&nbsp;&nbsp;&nbsp;
   					到
   					&nbsp;&nbsp;&nbsp;&nbsp;
   					<select style="width: 80px">
   					</select>
   				</td>
   			</tr>
   		</table>
   			<div class="eclipseBtn" style="float: left;margin-left: 1000px" onclick="javascript:window.location.href='<%=basePath%>jclient/pages/yjyagl/yjyagl_yacx_f.jsp'">
   					检索
   			</div>
  </body>
</html>
